package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@TableName("tz_channel_user_relation_record")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ChannelUserRelationRecord {

    @TableId
    private Long id;

    private String userId;

    private String channelCode;

    private String address;
    private String mnemonic;

    private String channelUserId;

    private Integer status;

    private Date createTime;

    private Date updateTime;

    private String nickName;

    private String callPhone;

    private String idNumber;

    private String type;//1创建2导入

    private String pic;

    private Long times;

    private Date lastTime;

    private String chainCode;

    @TableField(exist = false)
    private Integer tokenCount;

}
